package com.bzgwl.cloud_web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Professor_Kong
 * @version 1.0
 * @date 2020/3/17 8:49
 */
@Controller
public class IndexController {

    @RequestMapping({"/",""})
    public String loginIndex(){
        return "login";
    }

    @RequestMapping("/a")
    @ResponseBody
    public String indexa(){
        return "loginsss";
    }

    @RequestMapping("/index")
    public String index(){
        return "index";
    }


}
